/*
 * Copyright (c) 2008, 2013 Oracle and/or its affiliates.
 * All rights reserved. Use is subject to license terms.
 *
 * This file is available and licensed under the following license:
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 *  - Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *  - Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the distribution.
 *  - Neither the name of Oracle Corporation nor the names of its
 *    contributors may be used to endorse or promote products derived
 *    from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

/* *****************************************************************************
   * HOME PAGE
   ****************************************************************************/
#HomePage .pagination {
    -fx-arrows-visible: false;
    -fx-page-information-visible: false;
}
.section-ribbon-text {
    -fx-font-family: "Source Sans Pro ExtraLight";
    -fx-font-size: 36;
    -fx-fill: white;
}
.home-page-cell:Title {
    -fx-background-color: #f3472f;
    -fx-background-insets: 10 0 10 0;
}
.sample-button {
    -fx-font-family: "Source Sans Pro";
    -fx-font-size: 14;
    -fx-padding: 5px;
    -fx-text-fill: #777777;
    -fx-graphic-text-gap: 8px;
}
.sample-large-preview {
    -fx-background-color: white;
    -fx-padding: 10px;
}

/* *****************************************************************************
   * DOCS PAGE
   ****************************************************************************/
.sidebar-title {
    -fx-font-family: "Source Sans Pro Light";
    -fx-font-size: 20 !important;
    -fx-text-fill: #f3472f;
}

/* *****************************************************************************
   * SAMPLE PAGE
   ****************************************************************************/
.sample-page-box {
    -fx-padding: 8;
    -fx-font-size: 12px;
    /*-fx-text-background-color: #395d74;*/
}
.sample-page-box .hyperlink{
    -fx-font-size: 12px;
    -fx-text-overrun: leading-word-ellipsis;
}
.sample-page-box-title {
    -fx-font-family: "Source Sans Pro Light";
    -fx-font-size: 20 !important;
    -fx-text-fill: #f3472f;
    -fx-fill: #f3472f;
    -fx-padding: 0;
}
.sample-container {
    -fx-background-color: -fx-background; /* give sample area a solid color for occlusion culling */
}
.sample-page-box .tab-pane.floating {
    -fx-outer-border: derive(-fx-color,-13%);
}

/* *****************************************************************************
   * POPOVERS
   ****************************************************************************/
.popover {
    -fx-padding: 43 7 7 7;
}
.popover-frame {
    -fx-border-image-source: url("images/popover-empty.png");
    -fx-border-image-slice: 78 50 60 120 fill;
    -fx-border-image-width: 78 50 60 120;
    -fx-border-image-insets: -32 -37 -47 -37;
}
.popover.right-tooth .popover-frame {
    -fx-border-image-slice: 78 120 60 50 fill;
    -fx-border-image-width: 78 120 60 50;
}
.popover-title {
    /*-fx-font-family: "Bree serif"; */
    -fx-font-family: "Source Sans Pro Light";
    -fx-font-size: 20px;
 /*   -fx-text-fill: white;
    -fx-font-weight: bold; */
}
.popover .button {
    -fx-font-family: "Source Sans Pro";
    -fx-font-size: 16px;
}
.popover-tree-list-cell {
    -fx-background-color: white;
   /*  -fx-border-color: transparent transparent #dfdfdf transparent; */
    -fx-padding: 0 30 0 12;
    /*-fx-font-family: "Bree Serif"; */
    -fx-font-size: 15px;
 /*   -fx-font-weight: bold; */
    -fx-text-fill: #363636;
}
#PopoverBackground {
    -fx-background-color: white;
}
.search-result-cell {
    -fx-background-color: white;
    -fx-padding: 4 30 4 45;
}
.search-result-cell:selected {
  /*   -fx-background-color: white, #eeeeee; */
    -fx-background-insets: 0, 0 0 0 40;
}
.search-result-cell .title {
    /*-fx-font-family: "Bree Serif"; */
    -fx-font-size: 15px;
  /*  -fx-font-weight: bold; */
    -fx-text-fill: #363636;
}
.search-result-cell .details {
    -fx-font-size: 13px;
    -fx-text-fill: #444444;
}
.search-icon-pane .label {
    -fx-font-family: "Source Sans Pro Semibold";
    -fx-font-size: 16px;
    -fx-background-color: #515151;
    -fx-background-radius: 3px;
    -fx-text-fill: white;
    -fx-alignment: center;
}
.sample-tree-list-cell {
    -fx-background-color: white;
    -fx-border-color: transparent transparent #dfdfdf transparent;
    -fx-padding: 0 30 0 20;
    -fx-font-size: 15px;
    -fx-text-fill: #363636;
    -fx-graphic-text-gap: 20px;
}

/* *****************************************************************************
   * 24px ICONS
   ****************************************************************************/
.samples-icon {
    -fx-shape: "M12,0C5.373,0,0,5.373,0,12s5.373,12,12,12c6.627,0,12-5.373,12-12S18.627,0,12,0z M7.5,18V6l12.006,6L7.5,18z";
    -fx-scale-shape: false;
    -fx-background-color: #515151;
}
.documentation-icon {
    -fx-shape: "M12,3c0,0-3-3-12-3v18c9.094,0,12,3,12,3s2.906-3,12-3V0C15,0,12,3,12,3z M3,3c3.813,0.319,6.152,1.201,7.5,1.916v12.082c-1.348-0.712-3.687-1.594-7.5-1.916V3z M21,15.082c-3.814,0.322-6.154,1.203-7.5,1.916V4.916C14.846,4.201,17.186,3.319,21,3V15.082z";
    -fx-scale-shape: false;
    -fx-background-color: #515151;
}
.folder-icon {
    -fx-shape: "M4.141,4.039h15.82c0,0-0.268-2.004-0.936-2.004S9.214,2.034,8.346,2.034C7.479,2.034,7.143,0,6.409,0C5.675,0,1.672,0.001,0.805,0.001c-0.868,0-0.801,0.867-0.801,0.867s0,11.513,0,11.779S4.141,4.039,4.141,4.039z M5.28,5L0.07,16.009l19.756,0.033L23.996,5H5.28z";
    -fx-scale-shape: false;
    -fx-background-color: #515151;
}

.ensmeble-tool-bar .title {
    -fx-font-family: "Source Sans Pro Light";
    -fx-font-size: 20;
    -fx-text-fill: #666;
}
.ensmeble-tool-bar .button Region, .ensmeble-tool-bar .toggle-button Region {
    -fx-background-color: #666666;
    -fx-scale-shape: false;
}
.ensmeble-tool-bar #back Region{
    -fx-shape: "M0,7L11,0L11,14Z";
}
.ensmeble-tool-bar #forward Region{
    -fx-shape: "M0,0L11,7L0,14Z";
}
.ensmeble-tool-bar #home Region{
    -fx-shape: "M1,8.239V14h3.5V7.5h4V14H12V8.239L6.5,3L1,8.239z M11,4.5V1H9.1L9.062,2.448L6.5,0L0,6.5v0.7h0.5l6-5.826l6,5.826H13V6.5L11,4.5z";
}
.ensmeble-tool-bar #list Region{
    -fx-shape: "M1,2h14c0.553,0,1-0.448,1-1s-0.447-1-1-1H1C0.448,0,0,0.448,0,1S0.448,2,1,2zM15,5.875H1c-0.552,0-1,0.448-1,1c0,0.553,0.448,1,1,1h14c0.553,0,1-0.447,1-1C16,6.323,15.553,5.875,15,5.875z M15,11.75H1c-0.552,0-1,0.447-1,1s0.448,1,1,1h14c0.553,0,1-0.447,1-1S15.553,11.75,15,11.75z";
}
.search-box-icon {
    -fx-shape: "M10.728,9.893c0.889-1.081,1.375-2.435,1.375-3.842C12.103,2.714,9.388,0,6.051,0C2.715,0,0,2.714,0,6.051c0,3.338,2.715,6.052,6.051,6.052c0.954,0,1.898-0.227,2.744-0.656l3.479,3.478l1.743-1.742L10.728,9.893z M6.051,2.484c1.966,0,3.566,1.602,3.566,3.566c0,1.968-1.6,3.567-3.566,3.567c-1.967,0-3.566-1.6-3.566-3.567C2.485,4.086,4.084,2.484,6.051,2.484z";
    -fx-scale-shape: false;
    -fx-background-color: #aaaaaa;
}
.search-box {
    -fx-font-size: 16px;
    -fx-text-fill: #363636;
    -fx-background-radius: 15, 14;
    -fx-padding: 0 0 0 30;
}
.search-box:focused {
    -fx-background-radius: 15,14,16,14;
}
.search-clear-button {
    -fx-shape: "M9.521,0.083c-5.212,0-9.438,4.244-9.438,9.479c0,5.234,4.225,9.479,9.438,9.479c5.212,0,9.437-4.244,9.437-9.479C18.958,4.327,14.733,0.083,9.521,0.083z M13.91,13.981c-0.367,0.369-0.963,0.369-1.329,0l-3.019-3.03l-3.019,3.03c-0.367,0.369-0.962,0.369-1.329,0c-0.367-0.368-0.366-0.965,0.001-1.334l3.018-3.031L5.216,6.585C4.849,6.217,4.849,5.618,5.217,5.25c0.366-0.369,0.961-0.368,1.328,0l3.018,3.031l3.019-3.031c0.366-0.368,0.961-0.369,1.328,0c0.366,0.368,0.366,0.967,0,1.335l-3.019,3.031l3.02,3.031C14.276,13.017,14.276,13.613,13.91,13.981z";
    -fx-scale-shape: false;
    -fx-background-color: #aaaaaa;
    -fx-padding: 9.5px;
}


/* *****************************************************************************
   * POPOVERS
   ****************************************************************************/
.popover-tree-list-cell {
    -fx-background-color: white;
    -fx-font-size: 15px;
}
